package com.zhw.cloud.server;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value="EUREKA-CLIENT-1",fallback = EurekaClientHystrix.class)
public interface EurekaClient_1 {
	//整个注解，代表访问目标服务EUREKA-CLIENT-1的url地址
	@RequestMapping("/getName.do")
	String getName();
}

